<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">附件管理</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">附件管理</a></li>
		
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">
<style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
                                   
                                   
                                   

<div class="search_box">
<div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle">
当前目录:{$this_path}

</div>

<div class="r">
<a href="?app=files&act=index&v={$up_path}"  target="mainframe">返回上一目录</a>
</div>

</div>


<div class="clear"></div>
    <table  class="data" >
        <thead>
	
	<th>ID</th>

	<th width="50%">路径</th>


	
        </thead>
	    <tbody>
		
<?php foreach((array)$lang_db as $_key => $_value ) { ?>
<tr  >
	<td  align="center" width="50px">
	{$_key}

	</td>
	


   	<td class="bold" width="50%"><img src="{$site_url}/<?php echo $_value['icon'];?>" />
<?php if ($_value['type']=='file') { ?>

    <a href="<?php echo SITE_URL;?>/<?php echo $_value['path'];?>"  target="mainframe"><?php echo $_value['path'];?></a><br/><br/>
    [<a href="?app=files&act=del&v=<?php echo $_value['path'];?>"  target="mainframe">删除文件</a>]    
    
<?php } elseif ($_value['type']=='dir') { ?>
    <a href="?app=files&act=index&v=<?php echo $_value['path'];?>"  target="mainframe"><?php echo $_value['path'];?></a>
<?php } ?>

    
    </td>     




</tr>

<?php } ?>



	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->